package com.klod.data.bean

data class BaseResponseBean(
    var code :Int,
    var message:String,
    var data: Any?
){
    companion object{
        fun success(data:Any?) = BaseResponseBean(200,"成功",data)
        fun fail(msg:String="失败") = BaseResponseBean(501,msg,null)
    }
}
